package cn.iocoder.yudao.framework.business.category.pojo.vo;

import cn.iocoder.yudao.framework.business.basic.pojo.vo.AbstractVO;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.Data;

@Tag(name = "类目精简信息 Response VO")
@Data
public class CategorySimpleVO extends AbstractVO<Long> {

    @Schema(description = "父级编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "0")
    private Long parentId;

    @Schema(description = "名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "测试")
    private String name;

    @Schema(description = "编码", example = "test")
    private String code;

}
